﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="PerDateOrder.aspx.cs" Inherits="Reports_PerDateOrder" Title="每日交货统计" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="title">
        <asp:Label ID="lblTitle" runat="server" Text="每日交货统计表" 
            meta:resourcekey="lblTitleResource1"></asp:Label></div>
    <table class="add_table" cellspacing="1" cellpadding="3">
        <tr>
            <td align="right">
                <asp:Label ID="lblDeliveryDate" runat="server" Text="交货日期：" 
                    meta:resourcekey="lblDeliveryDateResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDeliveryDateFrom" runat="server" Width="20%" 
                    onkeydown="return pdDate(this,event);" 
                    meta:resourcekey="txtDeliveryDateFromResource1"></asp:TextBox>-
                <asp:TextBox ID="txtDeliveryDateTo" runat="server" Width="20%" 
                    onkeydown="return pdDate(this,event);" 
                    meta:resourcekey="txtDeliveryDateToResource1"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator11" runat="server"
                    ControlToValidate="txtDeliveryDateFrom" ValidationGroup="JobList" ErrorMessage="日期格式不正确"
                    
                    ValidationExpression="((1[89]\d{2})|([2-8]\d{3}))[-](([1][012])|(0{1}[1-9]))[-]((3[01])|([12]\d)|(0{1}[1-9]))" 
                    meta:resourcekey="RegularExpressionValidator11Resource1"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtDeliveryDateTo"
                    ValidationGroup="JobList" ErrorMessage="日期格式不正确" 
                    ValidationExpression="((1[89]\d{2})|([2-8]\d{3}))[-](([1][012])|(0{1}[1-9]))[-]((3[01])|([12]\d)|(0{1}[1-9]))" 
                    meta:resourcekey="RegularExpressionValidator1Resource1"></asp:RegularExpressionValidator>
            </td>
            <td align="right">
                <asp:Label ID="lblShipperName" runat="server" Text="托运人 ：" 
                    meta:resourcekey="lblShipperNameResource1"></asp:Label>
            </td>
            <td>
                <table width="100%">
                    <tr>
                        <td rowspan="6" align="center">
                            <asp:ListBox ID="lstShipper" runat="server" Width="100px" SelectionMode="Multiple"
                                meta:resourcekey="lstShipperResource1" />
                            <cc1:ListSearchExtender ID="ListSearchExtender2" runat="server" TargetControlID="lstShipper"
                                PromptCssClass="ListSearchExtenderPrompt" Enabled="True">
                            </cc1:ListSearchExtender>
                        </td>
                        <td style="height: 2px">
                        </td>
                        <td rowspan="6" align="left">
                            <asp:ListBox ID="lstSelShipper" runat="server" Width="100px" SelectionMode="Multiple"
                                meta:resourcekey="lstSelShipperResource1"></asp:ListBox>
                            <cc1:ListSearchExtender ID="ListSearchExtender4" runat="server" TargetControlID="lstSelShipper"
                                PromptCssClass="ListSearchExtenderPrompt" Enabled="True">
                            </cc1:ListSearchExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnAdd" runat="server" CssClass="btn" Text="添加" OnClick="btnAdd_Click"
                                meta:resourcekey="btnAddResource1" />
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnDelete" runat="server" CssClass="btn" Text="刪除" OnClick="btnDelete_Click"
                                meta:resourcekey="btnDeleteResource1" />
                            <br />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="right" style="height: 70px;">
                <asp:Label ID="lblVendorName" runat="server" Text="工厂名称 ：" 
                    meta:resourcekey="lblVendorNameResource1"></asp:Label>
            </td>
            <td>
                <table width="100%">
                    <tr>
                        <td rowspan="6" align="center">
                            <asp:ListBox ID="lstVendor" runat="server" Width="200px" SelectionMode="Multiple"
                                meta:resourcekey="lstVendorResource1" />
                            <cc1:ListSearchExtender ID="ListSearchExtenderlstVendor" runat="server" TargetControlID="lstVendor"
                                PromptCssClass="ListSearchExtenderPrompt" Enabled="True">
                            </cc1:ListSearchExtender>
                        </td>
                        <td style="height: 2px">
                        </td>
                        <td rowspan="6" align="left">
                            <asp:ListBox ID="lstSelVendor" runat="server" Width="200px" SelectionMode="Multiple"
                                meta:resourcekey="lstSelVendorResource1"></asp:ListBox>
                            <cc1:ListSearchExtender ID="ListSearchExtenderlstSelVendor" runat="server" TargetControlID="lstSelVendor"
                                PromptCssClass="ListSearchExtenderPrompt" Enabled="True">
                            </cc1:ListSearchExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnVendorAdd" runat="server" CssClass="btn" Text="添加" OnClick="btnVendorAdd_Click"
                                meta:resourcekey="btnVendorAddResource1" />
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnVendorDel" runat="server" CssClass="btn" Text="刪除" OnClick="btnVendorDel_Click"
                                meta:resourcekey="btnVendorDelResource1" />
                            <br />
                        </td>
                    </tr>
                </table>
            </td>
            <td align="right" style="height: 70px;">
                <asp:Label ID="lblWhoseName" runat="server" Text="仓库名称 ：" 
                    meta:resourcekey="lblWhoseNameResource1"></asp:Label>
            </td>
            <td>
                <table width="100%">
                    <tr>
                        <td rowspan="6" align="center">
                            <asp:ListBox ID="lstWhse" runat="server" Width="100px" SelectionMode="Multiple" meta:resourcekey="lstWhseResource1" />
                            <cc1:ListSearchExtender ID="ListSearchExtenderlstWhse" runat="server" TargetControlID="lstWhse"
                                PromptCssClass="ListSearchExtenderPrompt" Enabled="True">
                            </cc1:ListSearchExtender>
                        </td>
                        <td style="height: 2px">
                        </td>
                        <td rowspan="6" align="left">
                            <asp:ListBox ID="lstSelWhse" runat="server" Width="100px" SelectionMode="Multiple"
                                meta:resourcekey="lstSelWhseResource1"></asp:ListBox>
                            <cc1:ListSearchExtender ID="ListSearchExtenderlstSelWhse" runat="server" TargetControlID="lstSelWhse"
                                PromptCssClass="ListSearchExtenderPrompt" Enabled="True">
                            </cc1:ListSearchExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnWhseAdd" runat="server" CssClass="btn" Text="添加" OnClick="btnWhseAdd_Click"
                                meta:resourcekey="btnWhseAddResource1" />
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btnWhseDel" runat="server" CssClass="btn" Text="刪除" OnClick="btnWhseDel_Click"
                                meta:resourcekey="btnWhseDelResource1" />
                            <br />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="4" align="center">
                <asp:Button ID="btnSearch" runat="server" CssClass="btn" Text="查询" 
                    OnClick="btnSearch_Click" meta:resourcekey="btnSearchResource1" />
                    &nbsp;
                    <asp:Button ID="btnEmail" runat="server" Text="Email" CssClass="btn" onclick="btnEmail_Click" />
            </td>
        </tr>
    </table>
    <div style="overflow: auto; width: 100%; height: 750px; padding: 1px;" runat="server"
        id="divReport">
        <rsweb:ReportViewer ID="rptViewer" runat="server" Width="100%" Height="700px" 
            Font-Names="Verdana" Font-Size="8pt" meta:resourcekey="rptViewerResource1">
        </rsweb:ReportViewer>
        <asp:Label ID="lblNoRecord" runat="server" Text="没有找到记录" Visible="False" 
            meta:resourcekey="lblNoRecordResource1"></asp:Label>
    </div>
</asp:Content>
